package com.smartcommunity.entity.village;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;


@Data
@ApiModel
public class RealCompany implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value="单位id",name="id")
    private String companyId;

    @ApiModelProperty(value="小区编号",name="villageCode")
    private String villageCode;

    @NotBlank(message = "单位名称不能为空！")
    @ApiModelProperty(value="单位名称",name="companyName")
    private String companyName;

    @ApiModelProperty(value="实有单位地址",name="companyAddress")
    private String companyAddress;

    @ApiModelProperty(value="实有单位照片",name="companyPic")
    private String companyPic;

    @ApiModelProperty(value="坐标体系,参考附录字典",name="coordType")
    private Integer coordType;

    @ApiModelProperty(value="实有单位经度",name="lon")
    private Double lon;

    @ApiModelProperty(value="单位纬度",name="lat")
    private Double lat;

    @ApiModelProperty(value="记录入库时间(新增或更新)(东八区)",name="mrowTime",hidden = true)
    private Date mrowTime;

    @ApiModelProperty(value="单位简称",name="companyShortName")
    private String companyShortName;
    /**
     * 单位性质代码：\r\n 110 国有\r\n 120 集体\r\n 130股份合作\r\n 140联营\r\n 150有限责任公司\r\n
     * 160 股份有限公司\r\n 170 私营\r\n 190 其他内资企业\r\n 200港澳台商投资企业\r\n 300 外商投资企业
     */
    @ApiModelProperty(value="单位性质代码",name="companyNature")
    private String companyNature;

    @ApiModelProperty(value="单位注册地址",name="companyRegisterAddress")
    private String companyRegisterAddress;

    @ApiModelProperty(value="单位类别,1:行政机关 2:事业（科研、学校、医院等）3:企业（交通、商业、服务业等） 4:社会团体",name="companyType")
    private String companyType;

    @ApiModelProperty(value="电话号码",name="companyTel")
    private String companyTel;

    @ApiModelProperty(value = "统一社会信用代码",name="creditCode")
    private String creditCode;

    @ApiModelProperty(value = "组织机构代码",name="organCode")
    private String organCode;

    @ApiModelProperty(value="单位联系人",name="leaderName")
    private String leaderName;

    @ApiModelProperty(value="联系人证件号",name="credentialNo")
    private String credentialNo;

    @ApiModelProperty(value="联系人电话",name="leaderTel")
    private String leaderTel;

    @ApiModelProperty(value="数量",name="count")
    private Integer count;

    @ApiModelProperty(value = "从业人员数量",name="peopleCount")
    private Integer peopleCount;

}
